/**
 * \file IUser.java
 * \author
 */
package com.rootbat.fleamarketapp.domain.interfaces;

/**
 * \brief The user of the app.
 */
public interface IUser
{
	// Properties
	void SetName(String name);
	String GetName();
	EUserPrivileges GetPrivileges();
	
	// Enums
	/**
	 * \brief What kind of rights the user has.
	 * 
	 * Layered so for example admin has the same rights as seller and a normal user.
	 */
	public enum EUserPrivileges
	{
		NORMAL_USER,
		SELLER,
		ADMIN
	}
}
